﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebApp.Data;

namespace WebApp.Commons
{
    public class PavingContext
    {
        public static int CurrentUserId()
        {
            var obj = HttpContext.Current.Session["userid"];

            return obj != null ? (int)obj : 0;
        }
    }
}